package com.atguigu.tingshu;


import io.xzxj.canal.spring.annotation.EnableCanalListener;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@EnableCanalListener// 开启canal监听
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)// 排除数据源自动配置
public class CDCApplication {
    public static void main(String[] args) {
        SpringApplication.run(CDCApplication.class, args);
    }
}
